package edu.zut.packing;

public class TestStu {

    public static void main(String[] args) {

//        Student student = new Student();
        Student student = Student.getInstance();
//        student.number = "2021001";
//        student.school = "郑州大学";
        String school = student.getSchool();
        System.out.println("school = " + school);
        student.setName("张三");
        student.setNumber("2021001");
        student.setAge(19);
        //直接打印对象，打印是一个地址
        System.out.println("student = " + student);
        student.show();

    }

}
